import { createStore } from 'Vuex'
//导入购物车的vuex模块
import moduleCart from '@/store/cart.js'
//导入用户的vuex模块
import moduleUser from '@/store/user.js'

const store = createStore({
    modules: {
      m_cart: moduleCart,
      m_user: moduleUser
    }
})

export default store